package com.snowher.play.entity;

public class LocationEntity extends BaseResult {

    private int id;
    private String deviceId;
    private String username;
    private String time;
    private String lng;
    private String lat;
    private String detail;

    public LocationEntity() {
    }

    public LocationEntity(String deviceId, String username,  String lng, String lat, String detail) {
        this.deviceId = deviceId;
        this.username = username;
        this.lng = lng;
        this.lat = lat;
        this.detail = detail;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    @Override
    public String toString() {
        return "LocationEntity{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", username='" + username + '\'' +
                ", time='" + time + '\'' +
                ", lng='" + lng + '\'' +
                ", lat='" + lat + '\'' +
                '}';
    }
}
